﻿using System;
using System.Linq;


namespace _5.ConditionalStatements
{
    class IfTheFirstGreaterExch
    {
        static void Main(string[] args)
        {
            Console.Write("Enter a= ");
            int a = int.Parse(Console.ReadLine());
            Console.Write("Enter b= ");
            int b = int.Parse(Console.ReadLine());
                     
            if(a>b)
            {                
                a = a + b;
                b = a - b;
                a = a - b;
                Console.WriteLine("a={0}, b={1}", a, b);
            }
        }
    }
}
